package com.zhangjq.abstractfacotry;

import com.zhangjq.common.AliIPay;
import com.zhangjq.common.AliRepay;
import com.zhangjq.common.IPay;
import com.zhangjq.common.IRepay;

/**
 * Created by Administrator on 2019/3/9 0009.
 */
public class AliFactory implements IFactory {
    @Override
    public IPay createPay() {
        return new AliIPay();
    }

    @Override
    public IRepay createRepay() {
        return new AliRepay();
    }
}
